package com.xiaoshuidi.cloud.module.contract.job;

import com.xiaoshuidi.cloud.module.contract.service.bill.OwnerOrderService;
import com.xxl.job.core.handler.annotation.XxlJob;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class OwnerRentOrderJob {
    @Resource
    private OwnerOrderService ownerOrderService;

    /**
     * 业主账单批量生成付款单
     */
    @XxlJob("ownerRentOrderTransfer")
    public void ownerRenterOrderTransfer() {
        ownerOrderService.createRenterOrderTransfer();
    }
}
